package com.summer_administration.service;

import com.summer_administration.pojo.*;
import com.summer_administration.pojo.Expenses;

import java.util.List;

public interface ExpensesService {
    void add(Expenses expenses);
    PageBean<Expenses> list(Integer pageNum, Integer pageSize);
    void update(Expenses expenses);
    void delete(Integer id);
    List<GroupExpenseId> getGroupExpenses();
    List<GroupExpenseDTO> getExpensesByMethod();
    List<StateExpenseDTO> getExpensesByState();
}